﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RouteConvertToolForm
{
    public class WayPoint
    {
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public int Index { get; set; }
        public double ExecuteHeight { get; set; }
        public double HeadingAngle { get; set; }
        public double GimbalPitchAngle { get; set; }

        public override string ToString()
        {
            return $"航点 {Index}: 经度={Longitude}, 纬度={Latitude}, 高度={ExecuteHeight}米, " +
               $"航向角={HeadingAngle}°, 云台俯仰角={GimbalPitchAngle}°";
        }
    }
}
